package zzxkj.blog.service;

import zzxkj.blog.imChat.vo.ImMess;
import zzxkj.blog.imChat.vo.ImUser;

import java.util.List;

/**
 * 聊天
 * @author zzxkj
 */
public interface ChatService {
    /**
     * 获取当前用户
     * @return
     */
    ImUser getCurrentUser();

    /**
     * 存放群历史聊天记录
     * @param responseMess
     */
    void setGroupHistoryMsg(ImMess responseMess);

    /**
     * 获得群历史聊天记录
     * @param count
     * @return
     */
    List<Object> getGroupHistoryMsg(int count);
}
